package com.boot.domain;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * @author
 * @date 2025-07-28
 * @Description
 */
@Data
@ConfigurationProperties("my")
public class User {
    //@Value("${my.name}")
    private String name ;
    private int age ;
    private String sex ;
    private String info ; // 测试配置文件占位符的使用
}
